package com.zwj.mapstruct.entity.mapper;

import com.zwj.mapstruct.entity.dto.PigDto;
import com.zwj.mapstruct.entity.pojo.Pig;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface Pig2Mapper extends BaseMapper<PigDto,Pig>{

}